<template>
	<view>
		<!-- <web-view :webview-styles="webviewStyles" src="https://m.dzeducation.com/"></web-view> -->
		<web-view :webview-styles="webviewStyles" src=this.api.baseUrl + "/api/myHtml/xmlRequest.html/"></web-view>
		<!-- <web-view :webview-styles="webviewStyles" src="https://mp.weixin.qq.com/s?__biz=MzI0MTI5ODAzNg==&mid=2247501688&idx=1&sn=82249a412f6ba09037e0ff0369b84627&chksm=e90f3863de78b1755087c6e0397436a259be252f4f100fc159d550423d9327974d6bd24b70d7&token=1643186437&lang=zh_CN#rd"></web-view> -->
		<!-- hahahhaha -->
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			// // #ifdef MP-WEIXIN
			// window.location.href = 'https://blog.csdn.net/qq_36413371/article/details/106943470'
			// switch(uni.getSystemInfoSync().platform){
			//     case 'android':
			//        console.log('运行Android上')
			//        break;
			//     case 'ios':
			//        console.log('运行iOS上')
			//        break;
			//     default:
			//        console.log('运行在开发者工具上')
			//        break;
			// }
			// // #endif
			
			console.log('~~~~~~~~~~~~~~~~~~~~~~~');
			
			// // #ifndef H5
			// window.location.href = 'http://bodexiong.vip:42101/';
			// // #endif
		},
		methods: {
			// H5判断是安卓还是ios
			isAndroidOrIOS() {
			    var u = navigator.userAgent;
			    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
			    var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
			    if (isAndroid) {
			        return "1"
			    }
			    if (isiOS) {
			        return "0"
			    }
			}
		}
	}
</script>

<style>

</style>
